package com.zxx.dis.core;

import java.util.concurrent.TimeUnit;
import java.util.concurrent.locks.Lock;

public interface DistributedLockFactory {
    Lock createLock(String lockKey);
    Lock createLock(String lockKey, long expireTime, TimeUnit timeUnit);
}